{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>十露盘数据服务平台用户注册</title>
    <link rel="stylesheet" type="text/css" href="{% static 'login/css/style.css' %}" />
    <link rel="stylesheet" type="text/css" href="{% static 'login/css/skin_/login.css' %}" />
    <link rel="stylesheet" type="text/css" href="{% static 'login/css/skin_/sloop.min.css' %}"/>
</head>
<body>
<div id="container">
    <div id="bd">
    	<div id="main">
            <img class="left" src="{% static 'login/img/skin_/group@3x.png' %}"/>
        	<div class="login-box">
                <h1>欢迎注册</h1>
        {#       <form action="{% url 'ddm:login' %}" method="post">#}
                <form method="post">
                    {% csrf_token %}
                    <div class="input username" >
                        <label for="id_username">用户注册：</label>
                        <input type="text" name="username" placeholder="必须使用姓名拼音注册" autofocus required />
                    </div>
                    <div class="input username" >
                        <label for="id_password">设置密码：</label>
                        <input type="password" placeholder="用户密码" name="password" required >
                    </div>
                    <div class="input username" >
                        <label for="id_repeat_password">重复密码：</label>
                        <input type="password" placeholder="重复密码" name="repeat_password" required >
                    </div>
                    <div class="input username" >
                        <label for="id_department">公司部门：</label>
                        <select name="department">
                            <option value="Model"> 模型部 </option>
                            <option value="Strategy"> 策略部 </option>
                            <option value="Data"> 数据部 </option>
                            <option value="Develop"> 开发部 </option>
                            <option value="Product"> 产品部 </option>
                            <option value="Business"> 商务部 </option>
                            <option value="Test"> 测试部 </option>
                        </select>
                    </div>
                    <div class="input username" >
                        <label for="id_cellphone">手机号码：</label>
                        <input type="number"  placeholder="11位手机号码" name="phone" maxlength="11"  minlength="11" required >
                    </div>
                    <div class="input username" >
                        <label for="id_email">公司邮箱：</label>
                        <input type="text" placeholder="公司邮箱" name="email" required >
                    </div>
                    <div class="input username" >
                        <label for="id_email">提示信息：</label>
                        <input type="text" placeholder="{{ message }}">
                    </div>
                    <div id="btn" class="loginButton">
                        <input type="submit" value="注册">
                    </div>
                    <a href="/account/login/" style="position: relative;left: 200px;top: 10px; color: dodgerblue"> 已注册，去登录 </a>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>
